build,travis: allow '/' in the start of the commit
authorEtienne Champetier <[email protected]>
Tue, 25 Jul 2017 17:43:56 +0000 (10:43 -0700)
committerEtienne Champetier <[email protected]>
Tue, 25 Jul 2017 17:43:56 +0000 (10:43 -0700)
Signed-off-by: Etienne Champetier <[email protected]>
.travis_do.sh

index 52570fc25b2c43f9e91df385da193efb3e6e772a..c30e785ca272ff3174f9a5e5336e899f46c2f61a 100755 (executable)
@@ -121,7 +121,7 @@ test_commits() {
                fi
 
                subject="$(git show -s --format=%s $commit)"
-               if echo "$subject" | grep -q '^[0-9A-Za-z,-]\+: '; then
+               if echo "$subject" | grep -q '^[0-9A-Za-z,/-]\+: '; then
                        echo_green "Commit subject line seems ok ($subject)"
                else
                        echo_red "Commit subject line MUST start with '<package name>: ' ($subject)"